package com.hp.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


public class Dtable {
	private Integer dId;
	private String tableName;
	private Integer tableStatus;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	/*private String orderTime;*/
	private String orderTime;
	@Override
	public String toString() {
		return "Dtable [dId=" + dId + ", tableName=" + tableName + ", tableStatus=" + tableStatus + ", orderTime="
				+ orderTime + "]";
	}
	public Dtable() {
		// TODO Auto-generated constructor stub
	}
	public Dtable(Integer dId, String tableName, Integer tableStatus, String orderTime) {
		this.dId = dId;
		this.tableName = tableName;
		this.tableStatus = tableStatus;
		this.orderTime = orderTime;
	}
	public Integer getdId() {
		return dId;
	}
	public void setdId(Integer dId) {
		this.dId = dId;
	}
	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public Integer getTableStatus() {
		return tableStatus;
	}
	public void setTableStatus(Integer tableStatus) {
		this.tableStatus = tableStatus;
	}
	public String getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}
	
	
}
